<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html>
    <style>
   
html{   
    width: 100%;   
    height: 100%;   
    overflow: hidden;   
    font-style: sans-serif;   
}   
body{   
    width: 100%;   
    height: 100%;   
    font-family: 'Open Sans',sans-serif;   
    margin: 0;   
    background-color: #4A374A;   
}   
#login{   
    position: absolute;   
    top: 50%;   
    left:50%;   
    margin: -150px 0 0 -150px;   
    width: 300px;   
    height: 300px;   
}   
#login h1{   
    color: #fff;   
    text-shadow:0 0 10px;   
    letter-spacing: 1px;   
    text-align: center;   
}   
h1{   
    font-size: 2em;   
    margin: 0.67em 0;   
}   
input{   
    width: 278px;   
    height: 18px;   
    margin-bottom: 10px;   
    outline: none;   
    padding: 10px;   
    font-size: 13px;   
    color: #fff;   
    text-shadow:1px 1px 1px;   
    border-top: 1px solid #312E3D;   
    border-left: 1px solid #312E3D;   
    border-right: 1px solid #312E3D;   
    border-bottom: 1px solid #56536A;   
    border-radius: 4px;   
    background-color: #2D2D3F;   
}   
.but{   
    width: 278px;   
    min-height: 20px;   
    display: block;   
    background-color: #4a77d4;   
    border: 1px solid #3762bc;   
    color: #fff;   
    padding: 9px 14px;   
    font-size: 15px;   
    line-height: normal;   
    border-radius: 10px;   
    margin: 2;   
}
 a{ text-decoration:none; }
    </style>
    <head>
     	<base href="<%=basePath%>">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
		<script src="JS/check.js"></script>
        <title><s:text name="个人信息管理系统"/></title>
    </head>
    
    <body style="background-image:url('images/6.jpg')">
   
            <table align="center" width="100%">
                <tr>
                    <td align="center" width="50%">
                        <h1>个人信息管理系统</h1>
                    </td>
                </tr>
                
                <tr>
                    <td>
                    <s:form id="personal" name="login" action="user_login" namespace="/user" method="post">
                        <table width="250"  align="center" >
                            <tr>
                                <td>
                                    <s:textfield id="name" name="user.name"  cssClass="textarea"  size="21"/>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <s:password id="password" name="user.password"  cssClass="textarea" size="22"/>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="4" align="center">
                                    <input class="but" type="submit" value="确定" onclick="return check_personal(personal)" style="height:30px"/>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <input class="but" type="reset" value="清空" style="height:30px"/>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center">
                                    <s:a href="Login/user_register.jsp" cssClass="shanshuo">注册</s:a>
                                </td>
                            </tr>
                        </table>
                        </s:form>
                    </td>
                </tr>
            </table>
        
    </body>
</html>
